package com.guiji.text2video.fastvideo.utils;

import com.guiji.text2video.fastvideo.domain.vo.Text2videoJob;

import java.util.Arrays;
import java.util.List;

/**
 * @Copyright (C), 2018-2021
 * @FileName: DigitalHuman
 * @Author: scl
 * @Date: 2021/10/19 16:45
 * @Description: 数字人配置
 */
public class DigitalHuman {

    public static String techpic="http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/TechNewsDelivery.jpg";

    public static List<String> givenList = Arrays.asList(
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/default-news-picture.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/4.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/5.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/6.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/7.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/8.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/9.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/10.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/11.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/12.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/13.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/14.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/15.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/16.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/17.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/18.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/19.jpg");

    public static List<String> zhiHuList = Arrays.asList(
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/0.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/1.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/2.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/3.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/4.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/5.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/6.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/7.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/8.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/9.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/10.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/11.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/12.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/13.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/14.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/15.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/16.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/17.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/18.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-pic/19.jpg");


    public static List<String> zhiHuTitle = Arrays.asList(
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-title/1.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-title/2.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-title/3.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-title/4.jpg",
            "http://172.16.160.54/text2video/news/nfs/duix-cc/zhihu-title/5.jpg");

    public static String getRandomNewsPicture(List<String> zhiHuTitle) {
        return zhiHuTitle.get((int) (Math.random() * zhiHuTitle.size()));
    }

    public static String getEnglishPic() {
        return "http://172.16.160.54/text2video/news/nfs/duix-cc/pic/english.jpg";
    }
}